package com.sky.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sky.dto.CategoryPageQueryDTO;
import com.sky.entity.Category;
import com.sky.service.CategoryService;
import com.sky.mapper.CategoryMapper;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 86158
* @description 针对表【category(菜品及套餐分类)】的数据库操作Service实现
* @createDate 2025-08-21 12:25:10
*/
@Service
public class CategoryServiceImpl extends ServiceImpl<CategoryMapper, Category>
    implements CategoryService{
    @Autowired
    private CategoryMapper categoryMapper;

    @Override
    public IPage<Category> pageCategory(IPage<Category> categoryIPage, CategoryPageQueryDTO categoryPageQueryDTO) {
        return categoryMapper.pageCategory(categoryIPage,categoryPageQueryDTO);

    }
}




